package com.heg.bk.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * HegLabel entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "heg_label", catalog = "heg")
public class HegLabel implements java.io.Serializable {

	// Fields

	private Integer labId;
	private Integer uid;
	private Integer busId;
	private Integer activityId;
	private String labname;
	private String ctime;
	private String updtime;
	private Integer labType;
	private String description;
	private Integer isdel;

	// Constructors

	/** default constructor */
	public HegLabel() {
	}

	/** full constructor */
	public HegLabel(Integer uid, Integer busId, Integer activityId,
			String labname, String ctime, String updtime, Integer labType,
			String description, Integer isdel) {
		this.uid = uid;
		this.busId = busId;
		this.activityId = activityId;
		this.labname = labname;
		this.ctime = ctime;
		this.updtime = updtime;
		this.labType = labType;
		this.description = description;
		this.isdel = isdel;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "lab_id", unique = true, nullable = false)
	public Integer getLabId() {
		return this.labId;
	}

	public void setLabId(Integer labId) {
		this.labId = labId;
	}

	@Column(name = "uid")
	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Column(name = "busId")
	public Integer getBusId() {
		return this.busId;
	}

	public void setBusId(Integer busId) {
		this.busId = busId;
	}

	@Column(name = "activityId")
	public Integer getActivityId() {
		return this.activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	@Column(name = "labname", length = 20)
	public String getLabname() {
		return this.labname;
	}

	public void setLabname(String labname) {
		this.labname = labname;
	}

	@Column(name = "ctime", length = 20)
	public String getCtime() {
		return this.ctime;
	}

	public void setCtime(String ctime) {
		this.ctime = ctime;
	}

	@Column(name = "updtime", length = 20)
	public String getUpdtime() {
		return this.updtime;
	}

	public void setUpdtime(String updtime) {
		this.updtime = updtime;
	}

	@Column(name = "lab_type")
	public Integer getLabType() {
		return this.labType;
	}

	public void setLabType(Integer labType) {
		this.labType = labType;
	}

	@Column(name = "description", length = 50)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "isdel")
	public Integer getIsdel() {
		return this.isdel;
	}

	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}

}